package kr.or.javacafe.magic;

public class SixMagicMain {
	public static void main(String[] args) {
//		AbstractMagicSquare ams = new OddMagicSquare(5);
//		ams.make();
//		ams.print();
//		System.out.println(ams.isCheck());
//		AbstractMagicSquare ams = new FourMagicSquare(8);
//		ams.make();
//		ams.print();
//		System.out.println(ams.isCheck());
		
		IMagic ams = new SixMagicSquare(10);
		ams.make();
		ams.print();
		System.out.println(ams.isCheck());
//		SixMagicSquare sms = new SixMagicSquare();
//		sms.make();
//		sms.print();
//		System.out.println(sms.isCheck());
	}
}
